package com.lys.emsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lys.emsystem.entity.College;
import com.lys.emsystem.vo.CollegeVo;

import java.util.List;

public interface CollegeService {
    //    查询全部并分页
    IPage<College> search(Page<College> page, CollegeVo collegeVo);

    int addCollege(College college);

    int updateCollege(College college);

    int deleteCollege(int collegeId);

    int deleteColleges(int[] ids);

    List<College> searchCollegesBySchoolIds(int id);
}
